SwedbankPay\Payments\WooCommerce\WC_Swedbank_Plugin B

Total Complexity 80
Dependencies 6
Dependents 4
Total lines 660
Lines of code 407
Logical lines of code 198
Comment lines 152
Methods 26
Properties 1

Methods 26

Method Rating Maintainability Complexity Lines of code
billing_phone()
A
50 11 27
may_add_notice()
A
50 10 26
check_dependencies()
S
50 5 33
includes()
S
55 5 19
order_meta_box_payment_actions()
S
50 4 30
add_meta_boxes()
S
55 4 20
register_gateway()
S
57 4 19
ajax_swedbank_pay_capture()
S
56 4 18
ajax_swedbank_pay_cancel()
S
56 4 18
admin_enqueue_scripts()
S
57 4 15
add_action_buttons()
S
56 3 18
admin_menu()
S
60 3 13
__construct()
S
50 2 27
add_valid_order_statuses()
S
62 2 13
upgrade_notice()
S
55 1 25
migration_notice()
S
56 1 23
missing_woocommerce_notice()
S
56 1 23
migration_page()
S
66 2 8
upgrade_page()
S
66 2 8
install()
S
71 2 6
generate_uuid()
S
77 1 3
payment_description()
S
81 1 3
init()
S
91 1 2
woocommerce_init()
S
75 1 4
woocommerce_hook_loaded()
S
79 1 3
maybe_process_queue()
S
81 1 3